///////////////////////////////////////////////////////////
//  Persistent.h
//  Implementation of the Class Persistent
//  Created on:      21-sep-2007 15:40:06
///////////////////////////////////////////////////////////

#if !defined(EA_83025A39_E6BB_451d_ABFC_ADE0474000EF__INCLUDED_)
#define EA_83025A39_E6BB_451d_ABFC_ADE0474000EF__INCLUDED_

#include <string>
using std::string;
#include "../../indexado/fuentes/RecordHandler.h"
#include "../../indexado/fuentes/OrganizationCommons.h"

class Persistent
{

public:
	Persistent();
	virtual ~Persistent();
	virtual void loadRegistro(void* registro) = 0;
	virtual void saveInRegistro(void* reg) = 0;
	virtual campo* getSchema() = 0;
	virtual int getSchemaSize() = 0;
	virtual campo* getPrimaryKey() = 0;
	virtual std::string getKey() = 0;
	virtual void setKey(std::string key) = 0;
	virtual std::string getValor(std::string atribName) =0;
	virtual bool EsMayor(std::string atributte, Persistent *object) = 0;
	virtual void print() = 0;

};
#endif // !defined(EA_83025A39_E6BB_451d_ABFC_ADE0474000EF__INCLUDED_)
